package com.estun.backroundManagementService.config.properties;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "config.station-api-info")
public class StationApiInfoProperties {

    private String ipPort;

    private StationApiInfoProperties.ApiInfo openFeedingPort = new StationApiInfoProperties.ApiInfo();


    @Data
    public static class ApiInfo {
        private String url;
    }
}
